/* 收款单
 */

import { postRequest, getRequest } from '@/lib/axios';

export const paymentApi = {
  // 收款单列表
  queryPaymentList: (param) => {
    return getRequest('/account_payment/list', param);
  },
  // 收款单新增
  addPayment: (param) => {
    return postRequest('/account_payment/add', param);
  },
  // 收款单审核
  checkPayment: (param) => {
    return postRequest('/account_payment/check', param);
  },
  // 收款单获取对账金额
  amountPayment: (param) => {
    return getRequest('/account_payment/amount', param);
  },
};
